<!DOCTYPE html>
<html>
<head>
    {include file="common/head"}
</head>
<body>
{include file="common/menu"}

{hkcms:adv name="sub" itemid="1"}
<section class="bg-banner" style="background-image: url({$item.image});">
    <div class="container">
        <div class="position-relative overflow-hidden p-3 p-xl-4 text-center">
            <div class="col-xl-6 p-lg-5 mx-auto my-5">
                <h1 class="title mb-3">{:lang('Site Search')}</h1>
                <p class="lead fw-normal"><a href="/" class="active_a">{:lang('Home')}</a> / <span>{:lang('Site Search')}</span> / <span>{$__param__['keyword']}</span></p>
            </div>
        </div>
    </div>
</section>
{/hkcms:adv}

<section class="news sec_pad pb-4">
    <div class="container">
        <div class="pricing-header mx-auto text-center main-search">
            <div class="category clearfix">
                <div class="row mb-4">
                    <form class="d-flex justify-content-center" action="{:url('/search/index')}" method="get">
                        <input class="form-control keyword" type="search" name="keyword" placeholder="{:lang('Keyword')}" value="{$__param__['keyword']}" aria-label="Search">
                        <button class="btn btn-primary">{:lang('Search')}</button>
                    </form>
                </div>
                <ul class="d-flex flex-wrap list-unstyled mb-0">
                    {hkcms:volist name="__modelInfo__"}
                    <li><a {if $__param__['model_id']==$item['id']}class="active"{/if} href="{:url('/search/index',['model_id'=>$item['id'],'keyword'=>$__param__['keyword']])}">{$item.alias}</a></li>
                    {/hkcms:volist}
                </ul>
                <hr class="">
            </div>
            <div class="card mb-3">
                <div class="row">
                    {hkcms:volist name="__SDATA__"}
                    <div class="col-md-6 col-xl-12">
                        <div class="row">
                            <div class="col-xl-2">
                                <a href="{$item.url}"><img src="{$item.thumb??''}"></a>
                            </div>
                            <div class="col-xl-10">
                                <div class="card-body px-0 pb-0 text-start">
                                    <h4><a href="{$item.url}">{$item.title}</a></h4>
                                    <p style="color: #686868">{$item.description??''}</p>
                                    <p class="card-info">
                                        <i class="fas fa-calendar-alt"></i> {hkcms:date name="$item['update_time']" format="Y-m-d"}  &nbsp;&nbsp;
                                        <i class="fas fa-bars"></i> {$item.category.title}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xl-12"><hr class="my-3"></div>
                        </div>
                    </div>
                    {/hkcms:volist}
                </div>
                <div class="row">
                    <div class="col-md-12 page mt-4">
                        {hkcms:contentpage name="__SPAGE__" item="home,pre,pageno,next,last,info" mobile_item="pre,pageno,next" pre="&laquo;" next="&raquo;" /}
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

{include file="common/footer"}
</body>
</html>